﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Domain.Repositories;
using WorkflowEngine.Entitys;

namespace WorkflowEngine.IRepositorys
{
    public interface IActivityInstanceRespository : IBasicRepository<ActivityInstance, Guid>
    {
        Task<IQueryable<ActivityInstance>> GetQueryableAsync();
    }


    public interface IActivityTaskInstanceRespository : IBasicRepository<ActivityTaskInstance, Guid>
    {
        Task<IQueryable<ActivityTaskInstance>> GetQueryableAsync();
    }

    public interface IBillCodeRespository : IBasicRepository<BillCode, Guid>
    {
        Task<IQueryable<BillCode>> GetQueryableAsync();
    }
    public interface IObjectAppRespository : IBasicRepository<ObjectApp, Guid>
    {
        Task<IQueryable<ObjectApp>> GetQueryableAsync();
    }

    public interface IWorkflowAppRespository : IBasicRepository<WorkflowApp, Guid>
    {
        Task<IQueryable<WorkflowApp>> GetQueryableAsync(bool detail);
    }


    public interface IWorkflowInstanceRespository : IBasicRepository<WorkflowInstance, Guid>
    {
        Task<IQueryable<WorkflowInstance>> GetQueryableAsync(bool detail);
    }


    public interface IWorkTaskRespository : IBasicRepository<WorkTask, Guid>
    {
        Task<IQueryable<WorkTask>> GetQueryableAsync();
    }


}
